﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Data;


namespace TERP.Constants
{
	public class DataRowMyState
	{
		public const string Added = "ADDED";
		public const string Deleted = "DELETED";
		public const string Detached = "DETACHED";
		public const string Modified = "MODIFIED";
		public const string Unchanged = "UNCHANGED";
	}

	public class Language
	{
		public const string vi_VN = "vi-VN";
		public const string en_US = "en-US";
	}

	public class Flag
	{
		public const string Active = "1";
		public const string Inactive = "0";
		public const string Auto = "A";
		public const string Manual = "M";
        public const string Yes = Active;
        public const string No = Inactive;
	}

	public class Stage
	{
		public const string Null = "N";
		public const string Pending = "P";
		public const string Cancel = "C";
		public const string Approved = "A";
		public const string Approved1 = "A1";
		public const string Approved2 = "A2";
		public const string Finished = "F";
		public const string Rejected = "R";
	}

	public class SysPartner
	{
		public const string DesktopAppHTC = "DESKTOPAPPHTC";
		public const string DesktopAppDealer = "DESKTOPAPPDEALER";
	}

	public class SysObjectType
	{
		public const string WebService = "WS";
		public const string WebServiceFunction = "WSFUNC";
		//public const string BizFunction = "BIZFUNC";
		public const string Application = "APP";
		public const string Menu = "MENU";
		public const string Screen = "SCR";
		public const string Button = "BTN";
	}

	public class SequenceTypeDMS
	{
		public const string Id = "ID";
		public const string SalesOrderPlan = "SOP";
		public const string SalesOrderUnplan = "SOU";
		public const string PurchaseOrder = "PO";
		public const string POCommand = "POC";
		public const string Car = "C";
		public const string VINList = "VL";
		public const string PackingList = "PL";
		public const string DealerContract = "DCT";
		public const string Guarantee = "GRT";
		public const string Payment = "PMT";
		public const string PaymentClearing = "PMC";
		public const string PaymentAdjust = "PMA";
		public const string CarDeliveryOrder = "CDV";
		public const string CarDocumentsRequest = "CDR";
		public const string StorageRearrange = "STRA";
	}


	public class PaymentType
	{
		public const string Payment = "PMT";
		public const string Clearing = "PMC";
		public const string Adjust = "PMA";
	}

	public class Storage
	{
		public const string KhoDN = "K01";
		public const string KhoNB = "K03";
		public const string KhoHP = "K02";
	}
	public class DateTimeSpecial
	{
		public const string DateMin = "1900-01-01";
		public const string DateMax = "2100-01-01";
	}
	public class HTCConst
	{
		public const string HTCCode = "HTC";
		public const string HTCDealerCode = "HTC";
		public const string HTCBUCode = "HTC";
		public const string HTCBUPattern = "HTC%";
		public const string PasswordTemplate = "********";
		public const int MinLengthCode = 5; // character
		public const int WarningPeriod = 3; // day
		public const int MaxParamsSqlSv = 2000; // parameter (Must be less than 2100 - limited by SqlServer)
	}
	public class HTCParamCode
	{
		public const string GUARANTEE_DISCOUNTPERCENT = "GUARANTEE.DISCOUNTPERCENT";
		public const string GUARANTEE_TERM = "GUARANTEE.TERM";
		public const string SALESORDER_EXPIREDDATEINMONTH = "SALESORDER.EXPIREDDATEINMONTH";
	}

	#region // Service constants:

    #region //Payment constants:
    public class PaymentMethod_Type
    {
        public const string Invoice = "Invoice";//
        public const string CashByGuide = "CashByGuide";//
        public const string ByGuest = "ByGuest";//
        public const string CashByBranch = "CashByBranch";//
    }

    #endregion

	


	#endregion

	#region //WaterUnit constants:
	public class WaterUnit_Stage
	{
		public const string Binh = "Bình";	//	Unit Bình
		public const string Thung = "Thùng";	//	Unit Thùng               
	}

	#endregion
}
